﻿namespace Digitalmes.Domain.Mes;

/// <summary>
/// 计数器
/// </summary>
[SugarTable("basic_counter", "计数器")]
public class BasicCounter : EntityBaseId
{
    /// <summary>
    /// 计数器分类
    /// </summary>
    [NotNull]
    [SugarColumn(ColumnDescription = "计数器分类", Length = 32)]
    public string? Classify { get; init; }

    /// <summary>
    /// 当前计数
    /// </summary>
    [SugarColumn(ColumnDescription = "当前计数")]
    public long Number { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    [SugarColumn(ColumnDescription = "更新时间")]
    public DateTime UpdateTime { get; set; }
}
